package com.isdepci.project.result.domain;

import com.isdepci.framework.aspectj.lang.annotation.Excel;
import com.isdepci.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import java.math.BigDecimal;

/**
 * 按产品划分的排放对象 tpf_product_emissions
 *
 * @author isdepci
 * @date 2023-09-05
 */
public class ProductEmissions extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 产品 */
    @Excel(name = "产品")
    private String product;

    /** 吨CO2e */
    @Excel(name = "吨CO2e")
    private BigDecimal metricTonnesCo2e;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setProduct(String product)
    {
        this.product = product;
    }

    public String getProduct()
    {
        return product;
    }
    public void setMetricTonnesCo2e(BigDecimal metricTonnesCo2e)
    {
        this.metricTonnesCo2e = metricTonnesCo2e;
    }

    public BigDecimal getMetricTonnesCo2e()
    {
        return metricTonnesCo2e;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("product", getProduct())
            .append("metricTonnesCo2e", getMetricTonnesCo2e())
            .toString();
    }
}
